
using AutoMapper;
using JYJ.AiYard.StationManagement.TbYardUserParkings;
using JYJ.AiYard.StationManagement.TbYardUserParkings.Dtos;

namespace JYJ.AiYard.StationManagement.TbYardUserParkings.Mapper
{

	/// <summary>
    /// 配置TbYardUserParking的AutoMapper
    /// </summary>
	internal static class TbYardUserParkingMapper
    {
        public static void CreateMappings(IMapperConfigurationExpression configuration)
        {
            configuration.CreateMap <TbYardUserParking,TbYardUserParkingListDto>();
            configuration.CreateMap <TbYardUserParkingListDto,TbYardUserParking>();

            configuration.CreateMap <TbYardUserParkingEditDto,TbYardUserParking>();
            configuration.CreateMap <TbYardUserParking,TbYardUserParkingEditDto>();

            configuration.CreateMap<TbYardUserParkingEditMoreDto, TbYardUserParking>();
            configuration.CreateMap<TbYardUserParking, TbYardUserParkingEditMoreDto>();

            configuration.CreateMap<TbYardUserParkingVML, TbYardUserParkingListDto>();
            configuration.CreateMap<TbYardUserParkingListDto, TbYardUserParkingVML>();


        }
	}
}
